﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ParkingApp.Lib
{
    public class IllegalyParkedVehicle
    {
        public string PlateNumber {get; set;}
        public static List<IllegalyParkedVehicle> IllegalyParkedVehicleList { get; set; }

        public void AddVehicle(string plateNumber) {
            if (IllegalyParkedVehicleList == null) IllegalyParkedVehicleList = new List<IllegalyParkedVehicle>();
            IllegalyParkedVehicleList.Add(new IllegalyParkedVehicle() { PlateNumber = plateNumber});
        }
    }
}
